package com.liyuxiang.yygh.hosp.service;

import com.liyuxiang.yygh.model.hosp.Department;
import com.liyuxiang.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    void saveDepartment(Map<String, Object> paramMap);


    Page<Department> getDepartment(String hoscode, int pageNum, int pageSize);

    void removeDepartment(String depcode,String hoscode);

//    List<DepartmentVo> findDeptByHoscode(String hoscode);

    List<DepartmentVo> findDeptTree(String hoscode);

    Department getDepartment(String hoscode, String depcode);
}
